# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=entr
pkgver=4.6
pkgrel=0
pkgdesc="Event Notify Test Runner: Run arbitrary commands when files change"
url="http://entrproject.org"
arch="all"
license="ISC"
subpackages="$pkgname-doc"
makedepends="vim mercurial file util-linux"
checkdepends="bash tmux"
source="http://entrproject.org/code/entr-$pkgver.tar.gz"

build() {
	./configure
	make
}

check() {
	make test

	# FIXME: The tmux invocation in the functional tests blocks the builders
	# make regress
}

package() {
	PREFIX="$pkgdir/usr" make install
}

sha512sums="41e8c2311c7833a778193b13d1e0b1bb18ece54f5e20b8b5b0b4a2308ba1cc1a8b8378700dbac83ee68822b5f847a3fa9c47822d22a22d45da792d2408f48378  entr-4.6.tar.gz"
